import React from 'react'
import style from './style.module.scss'
import defaultCover from 'src/static/image/project_2_5d.jpg'
import { Pagination } from 'antd'
import { TeamResultItem } from 'src/components/items/TeamResultItem'

export const TeamResultPage: React.FC = () => (
    <div>
        <div className={style.flexContainer}>
            {Array(10).fill(undefined).map((item, index) => {
                return (
                    <TeamResultItem data={
                        {
                            id: '1',
                            teamName: '跑路战队 Ye 我的名字特别长 起那么长的名字你是想干嘛',
                            img: defaultCover,
                            projectName: '2020年第十届MathorCup高校数学建模挑战赛',
                            membersAvatar: [defaultCover, defaultCover],
                            memberNum: 4,
                            like: 10
                        }
                    } key={index}/>
                )
            })}
        </div>
        <div className={style.pagination}>
            <Pagination defaultCurrent={1} total={50}/>
        </div>
    </div>

)
